/*
 * @Author: 
 * @Date: 2025-02-07 10:51:31
 * @LastEditor: zhuxiaoyi
 * @LastEditTime: 2025-02-07 15:03:06
 * @Description: 
 */

import { ApiProperty } from '@midwayjs/swagger';

export class DPModelInfoQueryDto {
  @ApiProperty({
    description: '样本类型',
    example: '建筑物变化检测',
  })
  sampleType: string;

  @ApiProperty({
    description: '样本大小',
    example: [128, 256, 512, 1024], // 示例：可以选择的多个样本大小
  })
  sampleSizes: number[];

  @ApiProperty({
    description: '分辨率',
    example: [0.5, 1, 2, 10], // 示例：可以选择的分辨率
  })
  resolutions: number[];

  @ApiProperty({
    description: '当前页码',
    example: 1,
  })
  page: number;  // 页码

  @ApiProperty({
    description: '每页显示的数量',
    example: 10,
  })
  limit: number; // 每页条数
}


export class DPModelInfoAddDto {
  @ApiProperty({
    description: '前时相时间',
    example: '2025-01-01T10:00:00Z',
  })
  QTime: string;

  @ApiProperty({
    description: '前时相文件名',
    example: 'file1.tif',
  })
  QFileName: string;

  @ApiProperty({
    description: '前时相文件路径',
    example: '/path/to/file1.tif',
  })
  QFilePath: string;

  @ApiProperty({
    description: '后时相时间',
    example: '2025-01-02T10:00:00Z',
  })
  HTime: string;

  @ApiProperty({
    description: '后时相文件名',
    example: 'file2.tif',
  })
  HFileName: string;

  @ApiProperty({
    description: '后时相文件路径',
    example: '/path/to/file2.tif',
  })
  HFilePath: string;

  @ApiProperty({
    description: '标记矢量名称',
    example: 'vector1',
  })
  CHShpName: string;

  @ApiProperty({
    description: '标记字段',
    example: 'field1',
  })
  ShpField: string;

  @ApiProperty({
    description: '标记矢量路径',
    example: '/path/to/vector1.shp',
  })
  CHShpPath: string;

  @ApiProperty({
    description: '样本数量',
    example: 100,
  })
  SampleCount: number;

  @ApiProperty({
    description: '分辨率',
    example: 1.0,
  })
  Res: number;

  @ApiProperty({
    description: '样本大小',
    example: 512,
  })
  Size: number;

  @ApiProperty({
    description: '样本类型',
    example: '建筑物变化检测',
  })
  SampleType: string;

  @ApiProperty({
    description: '样本状态',
    example: 1,  // 状态：1为启用，0为禁用
  })
  Status: number;

  @ApiProperty({
    description: '创建时间',
    example: '2025-02-07T10:00:00Z',
  })
  CreateTime: string;  // 创建时间
}


export class DPModelInfoUpdateDto {
  @ApiProperty({
    description: '前时相时间',
    example: '2025-01-01T10:00:00Z',
  })
  QTime: string;

  @ApiProperty({
    description: '前时相文件名',
    example: 'file1.tif',
  })
  QFileName: string;

  @ApiProperty({
    description: '前时相文件路径',
    example: '/path/to/file1.tif',
  })
  QFilePath: string;

  @ApiProperty({
    description: '后时相时间',
    example: '2025-01-02T10:00:00Z',
  })
  HTime: string;

  @ApiProperty({
    description: '后时相文件名',
    example: 'file2.tif',
  })
  HFileName: string;

  @ApiProperty({
    description: '后时相文件路径',
    example: '/path/to/file2.tif',
  })
  HFilePath: string;

  @ApiProperty({
    description: '标记矢量名称',
    example: 'vector1',
  })
  CHShpName: string;

  @ApiProperty({
    description: '标记字段',
    example: 'field1',
  })
  ShpField: string;

  @ApiProperty({
    description: '标记矢量路径',
    example: '/path/to/vector1.shp',
  })
  CHShpPath: string;

  @ApiProperty({
    description: '样本数量',
    example: 100,
  })
  SampleCount: number;

  @ApiProperty({
    description: '分辨率',
    example: 1.0,
  })
  Res: number;

  @ApiProperty({
    description: '样本大小',
    example: 512,
  })
  Size: number;

  @ApiProperty({
    description: '样本类型',
    example: '建筑物变化检测',
  })
  SampleType: string;

  @ApiProperty({
    description: '样本状态',
    example: 1,  // 状态：1为启用，0为禁用
  })
  Status: number;

  @ApiProperty({
    description: '创建时间',
    example: '2025-02-07T10:00:00Z',
  })
  CreateTime: string;  // 创建时间
}
